<?php

return array(
    'preLoad' => array(
        'app' => array(
            'BAppCommon' => array(
                'connection' => 'weProduct'
            )
        )
    ),
    'appMeta' => array(
        'appName' => 'WeProduct',
        'description' => 'WeProduct application',
        'operations' => array(
            'client' => array('displayName' => 'client',
                //'class'=>'BSOrderFacilityOperation',
                'permit' => array(BPermit::AllowAccess => BRole::All_Roles),
            /*
              'startScreen' => array(
              'views' => array(
              'client' => 'client')
              )
             * 
             */
            ),
            'manage' => array('displayName' => 'manage',
                'permit' => array(
                    BPermit::AllowAccess => array(
                        BRole::Role_Space_Admin,
                        BRole::Role_Space_Member)),
            /* 'startScreen' => array(
              'views' => array(
              'management' => 'management')
              )
             * 
             */
            ),
            'admin' => array('displayName' => 'admin',
                'permit' => array(BPermit::AllowAccess => BRole::Role_Space_Admin),
            /* 'startScreen' => array(
              'views' => array(
              'admin' => 'admin')
              )
             * 
             */
            )
        )
    ),
    'db' => array(
        'connection' => array(
            'default' => 'weProduct',
            'localdb' => array(
                'connectString' => 'mysql:host=localhost;dbname=bilynapp',
                'user' => 'blndba',
                'password' => 'blnpwd'
            ),
            'billeendb2' => array(
                'connectString' => 'mysql:host=billeencom.ipagemysql.com;dbname=billeendb2',
                'user' => 'billeendba',
                'password' => 'dba@billeendb'
            ),
            'weProductTest' => array(
                'connectionString' => 'mysql:host=localhost;dbname=weProduct_test',
                'emulatePrepare' => true,
                'username' => 'test',
                'password' => 'password',
                'charset' => 'utf8',
                'tablePrefix' => 'tbl_',
                'enableParamLogging' => true,
            ),
            'weProduct' => array(
                'connectionString' => 'mysql:host=localhost;dbname=weProduct',
                'emulatePrepare' => true,
                'username' => 'test',
                'password' => 'password',
                'charset' => 'utf8',
                'tablePrefix' => 'tbl_',
                'enableParamLogging' => true,
            ),
        )
    )
);
?>
